MCSetUpEditMenu
TheMCSetUpEditMenu
function correctly highlights and names the items in your application's Edit menu.
pascal ComponentResult MCSetUpEditMenu (MovieController mc, long modifiers, MenuHandle mh);
mc
- Specifies the movie controller for this operation. You obtain this identifier from the Component Manager's
OpenComponent
orOpenDefaultComponent
function, or from theNewMovieController
function.modifiers
- Indicates the current modifiers from the mouse-down or key-down event to which you are responding.
mh
- Specifies a menu handler to your current Edit menu. The first six items in your Edit menu should be the standard editing commands: Undo, a blank line, Cut, Copy, Paste, and Clear.
DESCRIPTION
When your application is highlighting its menus, you should callMCSetUpEditMenu
immediately before you use the Menu Manager'sMenuSelect
orMenuKey
functions. For details onMenuSelect
andMenuKey
, see Inside Macintosh: Macintosh Toolbox Essentials.
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help